package com.wholesmart.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.wholesmart.mapper.entity.Department;

public interface DepartmentMapper {

	void deleteById(Long id);

	void updateById(Department entity);

	void insert(Department entity);

	long countForSelectPage(@Param("condition") Object condition);

	List<Department> selectPage(@Param("page") Object page, @Param("condition") Object condition);

	Department selectDepartmentBy(Long id);

}
